[XEN][POWERPC] Do not override smp function call wait flag
authorJimi Xenidis <jimix@watson.ibm.com>
Tue, 28 Nov 2006 22:01:00 +0000 (17:01 -0500)
committerJimi Xenidis <jimix@watson.ibm.com>
Tue, 28 Nov 2006 22:01:00 +0000 (17:01 -0500)
Do not override the caller's wishes regarding waiting for smp function
call completion.  I was being too conservative in this respect: the lock
protects the call_data structure, and the function called is expected to
be threadsafe.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %E0%1E%08%CAb%9BO%15H%28%B0%97jX%DF%87gU%8A%EC

xen/arch/powerpc/smp.c

index 090b86076e71897b2f907643c07a9717cf3f85f1..3d06b9afa0b77111256f0e80d62480f4f239a91e 100644 (file)
@@ -97,7 +97,6 @@ int on_selected_cpus(
     call_data.func = func;
     call_data.info = info;
     call_data.wait = wait;
-    call_data.wait = 1;  /* Until we get RCU around call_data.  */
     atomic_set(&call_data.started, 0);
     atomic_set(&call_data.finished, 0);
     mb();